package cn.wolfcode.luowowo.comment.service;

import cn.wolfcode.luowowo.comment.domain.QuestionComment;
import cn.wolfcode.luowowo.common.util.AjaxResult;

import java.util.List;

public interface IQuestionCommentService {
    List<QuestionComment> list();

    AjaxResult saveOrUpdate(QuestionComment question);

    /**
     * 根据提问id查询
     * @param id
     * @return
     */
    QuestionComment findById(String id);

    List<QuestionComment> findAll();

    void updateStats(QuestionComment question);
}
